package DBLayer;

import java.util.ArrayList;

import ModelLayer.*;

public interface DBTrainingProgramIF
{
	public ArrayList<TrainingProgram> getAllTrainingProgram(boolean retriveAssociation);
    public TrainingProgram searchTrainingProgramID(int trainingProgramID, boolean retriveAssociation);
    public TrainingProgram searchTrainingProgramPmDate(String pmDate, boolean retriveAssociation);
    public TrainingProgram searchTrainingProgramName(String name, boolean retriveAssociation);
    public TrainingProgram searchTrainingProgramCreatorName(String creatorName, boolean retriveAssociation);
    public TrainingProgram searchTrainingProgramSupervisorID(int supervisorID, boolean retriveAssociation);

    public int insertTrainingProgram(TrainingProgram tp);
    public int updateTrainingProgram(TrainingProgram tp);
    public int delete(int id);
}
